import request from './axios';

export function getHotAlbums() {
  return request({
    url: "/album/newest"
  })
}

export function getTopAlbums(limit, offset) {
  return request({
    url: "/top/album",
    params: {
      limit,
      offset
    }
  })
}

save(){
  aaaa
}
export function getDownAlbums(limit, offset) {
  return request({
    url: "/top/down",
    params: {
      limit,
      offset
    }
  })
}
<<<<<<< HEAD
export function getnAlbums(limit, offset) {
=======
export function getDownAlbums(limit, offset) {
>>>>>>> d6386bdc1aa44db9253bb07313002b6a0ee7a9f5
  return request({
    url: "/top/down",
    params: {
      limit,
      offset
    }
  })
}
<<<<<<< HEAD

=======
export function getDownAlbums(limit, offset) {
  return request({
    url: "/top/down",
    params: {
      limit,
      offset
    }
  })
}
export function getDownAlbums(limit, offset) {
  return request({
    url: "/top/down",
    params: {
      limit,
      offset
    }
  })
}
>>>>>>> d6386bdc1aa44db9253bb07313002b6a0ee7a9f5
